#ifndef _OOD3DDISPLAYWINDOW_H_
#define _OOD3DDISPLAYWINDOW_H_

#include "ooengine.h"

//------------------------------------------------------------------------
class ooD3DDisplayWindow
{
public:
	ooD3DDisplayWindow();
	~ooD3DDisplayWindow();

	static LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);

	void			openWindow();
	void			closeWindow();

	void*			getWindowHandle() const;

	void			setName(const String& name);
	const String&	getName() const;
	void			setSize(int width, int height);
	int				getWidth() const;
	int				getHeight() const;

	void			tick(float elapsed);

private:
	String			m_name;
	int				m_width;
	int				m_height;
	HWND			m_handle;
};

#endif